package com.jbp.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author lucheng feng
 * @email jbp@gmail.com
 * @date 2020-06-18 21:26:42
 */
@ApiModel(value="roomType对象",description="房间类型信息")
@Data
@TableName("room_type")
public class RoomType implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@ApiModelProperty(value="编号",name="id")
	@TableId
	private Integer id;
	/**
	 * 类型名称
	 */
	@ApiModelProperty(value="类型名称",name="name")
	private String name;
	/**
	 * 排序
	 */
	@ApiModelProperty(value="排序",name="orderNum")
	private Integer orderNum;
	/**
	 * 正常  禁用
	 */
	@ApiModelProperty(value="normal正常  del禁用",name="status")
	private String status;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value="创建时间",name="createTime")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createTime;

}
